package yqt.com.cnki.bo;

import lombok.Data;
import yqt.com.cnki.po.QKYDPo;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2021/11/12 14:25
 * @Version 1.0
 */
@Data
public class QKYDBo extends QKYDPo {
    //当前页码
    private Integer page;
    //每页显示条数
    private Integer pageSize;
    //分页起始下标
    private Integer start;
    //搜索字段
    private String searchKey;
    //搜索值
    private String searchValue;
    //分类数组-外文期刊
    private String[] sortArr;
    //分类数组拼接后的str
    private String sortArrStr;

    //年份数组-中文期刊
    private String[] yearArr;
    //年份数组拼接后的str
    private String yearArrStr;

    public void setStart(Integer page, Integer pageSize) {
        this.start = (page - 1) * pageSize;
    }
}
